package com.tensquare.recruit.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author Macross
 * @Type Enterprise.java
 * @Desc 企业信息实体类
 * @date 2019/12/17 15:20
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "tb_enterprise")
@ApiModel(value = "企业信息实体类")
public class Enterprise implements Serializable {
    @Id
    @ApiModelProperty(value = "企业id")
    private String id;
    @ApiModelProperty(value = "企业名称")
    private String name;
    @ApiModelProperty(value = "企业简介")
    private String summary;
    @ApiModelProperty(value = "企业地址")
    private String address;
    @ApiModelProperty(value = "标签列表")
    private String labels;
    @ApiModelProperty(value = "坐标")
    private String coordinate;
    @Column(name = "ishot")
    @ApiModelProperty(value = "是否热门")
    private String isHot;
    @ApiModelProperty(value = "LOGO")
    private String logo;
    @ApiModelProperty(value = "职位数")
    private String jobCount;
    @ApiModelProperty(value = "URL")
    private String url;
}
